<!DOCTYPE html>
<html>
    <head>
        <link rel="stylesheet" href="//cdn.bootcss.com/jquery-mobile/1.3.2/jquery.mobile.min.css">
        {% block base0 %}
        {% assets filters="cssmin", output="css/agm_packed.css",
            "jquery.mobile.simpledialog.min.css", "css/agm.css", "css/getlikeheart.css", "css/photoswipe.css",
            "css/default-skin.css" %}<link rel="stylesheet" href="{{ASSET_URL}}">{% endassets %}
        {% endblock %}
        <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
        <div id='wx_logo' style="display:none;"><img src="/static/images/wx_logo.jpg"/></div>
        <div id='wx_logo_bak' style="display:none;"><img src="/static/images/wx_logo.jpg"/></div>        
        {%- block body %}{% endblock -%}
        {% if g.sign %}<div class="wx_data" style="display:none" hidden>
            {% for k in g.sign %}<input name="{{k}}" value="{{g.sign[k]}}"/>{% endfor %}
        </div>{% endif %}
    </body>
        <script src="//libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
        {% block base1 %}
        <script src="/static/js/agmcustom.js"></script>
        {% endblock %}
        <script src="//cdn.bootcss.com/jquery-mobile/1.3.2/jquery.mobile.min.js"></script>
        {% block base2 %}
        {% assets filters="jsmin", output="js/agm_before_packed.js", 
            "jquery.mobile.simpledialog.min.js", "jquery.maskedinput.min.js", "twemoji.min.js",
            "js/photoswipe.min.js", "js/photoswipe-ui-default.min.js" %}<script src="{{ASSET_URL}}"></script>{% endassets %}         
    <script src="//res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    {% assets filters="jsmin", output="js/agm_after_packed.js", "js/agmafter.js"%}<script src="{{ASSET_URL}}"></script>{% endassets %}
    {% endblock %}
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
      ga('create', 'UA-70167303-2', 'auto');
      ga('send', 'pageview');
    </script>    
    {% block script1 %}
    <span style="display:none";><script src="//s95.cnzz.com/z_stat.php?id=1260596354&web_id=1260596354" language="JavaScript"></script></span>
    {% endblock %}
<html>
